import React from 'react';
import hoc from './hoc';

// HOC 增强组件
// vscode 允许使用修饰符 https://blog.csdn.net/smaller_coder/article/details/103232920
@hoc
class App extends React.Component {
    render () {
        return (
            <div>
                hello
            </div>
        );
    }

    componentDidMount () {
        console.log(this);
    }
}

// export default hoc(App)
export default App;
